﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Empires.CRL.DataContract;

namespace Empires.BLL.Core.IService
{
    public interface ICompanyProductService
    {
        List<DefaultDataPack> GetProductWithList(string copName, string type, string subject, int page, int size);
        int GetProductItemCount(string copName, string type, string subject);
        List<DefaultDataPack> GetProductDetail(int pid);

        bool ProductEdit(string id, ProductDataPack datapack);

        bool ProductDelete(string copname, int pid);

        bool ProductAdd(string copname, ProductDataPack productDataPack);
    }
}
